package com.ami12.shopping.mapper;

import com.ami12.shopping.pojo.Item;

import java.util.List;

/**
 * Created by zhangzejun .
 * time: 2016/12/8  9:08
 */
public interface ItemMapper {

    List<Item> selectAll();
    Item selectByPrimaryKey(Integer id);
    boolean insertItem(Item item);
    boolean deleteByPrimaryKey(Integer id);
    boolean updateByPrimaryKey(Item item);
}


